/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.JobDTO;
import java.util.ArrayList;

/**
 *
 * @author anhtuan
 */
public interface JobInterface {

    ArrayList<JobDTO> readByAll();

    JobDTO findById(int id);

    ArrayList<JobDTO> findByName(String name);

    ArrayList<JobDTO> findByDTO(JobDTO dto);

    boolean create(JobDTO dto);

    boolean update(JobDTO dto);

    boolean delete(int id);

    boolean delete(JobDTO dto);
}
